package com.runfast.waimai.dao.model;

import java.io.Serializable;
import java.util.Date;

public class RunfastCuseraddress implements Serializable {
    private Integer id;

    private String address;

    private Integer cid;

    private Date createtime;

    private String mobile;

    private String name;

    private String cname;

    private String phone;

    private String useraddress;

    private Integer ischoose;

    private String latitude;

    private String longitude;

    private String cityname;

    private String countyname;

    private String provincename;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public RunfastCuseraddress withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAddress() {
        return address;
    }

    public RunfastCuseraddress withAddress(String address) {
        this.setAddress(address);
        return this;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Integer getCid() {
        return cid;
    }

    public RunfastCuseraddress withCid(Integer cid) {
        this.setCid(cid);
        return this;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public RunfastCuseraddress withCreatetime(Date createtime) {
        this.setCreatetime(createtime);
        return this;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getMobile() {
        return mobile;
    }

    public RunfastCuseraddress withMobile(String mobile) {
        this.setMobile(mobile);
        return this;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getName() {
        return name;
    }

    public RunfastCuseraddress withName(String name) {
        this.setName(name);
        return this;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getCname() {
        return cname;
    }

    public RunfastCuseraddress withCname(String cname) {
        this.setCname(cname);
        return this;
    }

    public void setCname(String cname) {
        this.cname = cname == null ? null : cname.trim();
    }

    public String getPhone() {
        return phone;
    }

    public RunfastCuseraddress withPhone(String phone) {
        this.setPhone(phone);
        return this;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getUseraddress() {
        return useraddress;
    }

    public RunfastCuseraddress withUseraddress(String useraddress) {
        this.setUseraddress(useraddress);
        return this;
    }

    public void setUseraddress(String useraddress) {
        this.useraddress = useraddress == null ? null : useraddress.trim();
    }

    public Integer getIschoose() {
        return ischoose;
    }

    public RunfastCuseraddress withIschoose(Integer ischoose) {
        this.setIschoose(ischoose);
        return this;
    }

    public void setIschoose(Integer ischoose) {
        this.ischoose = ischoose;
    }

    public String getLatitude() {
        return latitude;
    }

    public RunfastCuseraddress withLatitude(String latitude) {
        this.setLatitude(latitude);
        return this;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude == null ? null : latitude.trim();
    }

    public String getLongitude() {
        return longitude;
    }

    public RunfastCuseraddress withLongitude(String longitude) {
        this.setLongitude(longitude);
        return this;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude == null ? null : longitude.trim();
    }

    public String getCityname() {
        return cityname;
    }

    public RunfastCuseraddress withCityname(String cityname) {
        this.setCityname(cityname);
        return this;
    }

    public void setCityname(String cityname) {
        this.cityname = cityname == null ? null : cityname.trim();
    }

    public String getCountyname() {
        return countyname;
    }

    public RunfastCuseraddress withCountyname(String countyname) {
        this.setCountyname(countyname);
        return this;
    }

    public void setCountyname(String countyname) {
        this.countyname = countyname == null ? null : countyname.trim();
    }

    public String getProvincename() {
        return provincename;
    }

    public RunfastCuseraddress withProvincename(String provincename) {
        this.setProvincename(provincename);
        return this;
    }

    public void setProvincename(String provincename) {
        this.provincename = provincename == null ? null : provincename.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", address=").append(address);
        sb.append(", cid=").append(cid);
        sb.append(", createtime=").append(createtime);
        sb.append(", mobile=").append(mobile);
        sb.append(", name=").append(name);
        sb.append(", cname=").append(cname);
        sb.append(", phone=").append(phone);
        sb.append(", useraddress=").append(useraddress);
        sb.append(", ischoose=").append(ischoose);
        sb.append(", latitude=").append(latitude);
        sb.append(", longitude=").append(longitude);
        sb.append(", cityname=").append(cityname);
        sb.append(", countyname=").append(countyname);
        sb.append(", provincename=").append(provincename);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}